home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
programr
/
tp
/
dllmaker
/
dllmaker.doc
next >
Wrap
Text File
|
1992-01-29
|
2KB
|
39 lines
The Midnight Beach (tm) DllMaker makes it easy to assemble a set of Turbo
Pascal for Windows (TPW) units into a DLL.
It reads the units' interface section(s), and builds two new files: A
`bindings unit' that repeats all type declarations and implements all
procedures as externals in the DLL, and an `export library' that explicitly
exports public procedures *and* object methods. (The DllMaker builds
EXPORT shell routines in the library that call the object methods. One
very important restriction is that you should not define a virtual method
in a DLL then call it from outside the DLL: Objects only contain 16-bit,
near pointers to their virtual method table.)
The user interface is pathetically simple and rigid:
DllMaker RESULT SOURCE [/USES]
The RESULT is a path and file name for the two new files the DllMaker will
create. The bindings unit source will be placed in RESULT.BND while the
export library source will be placed in RESULT.DLS. The SOURCE parameter
is any number of unit file names, separated by spaces. (SOURCE names may
include paths, too.) The optional /USES statement allows the bindings unit
and export library to depend on units that are not read: Anything after
the / will be placed in the export library's uses clause before the names
of the exported units, and will become the uses clause for the bindings
unit. Note that while SOURCE names must be separated by spaces, USES names
must be separated by commas!
The DllMaker is supplied "as is", and Midnight Beach does not guarantee
that it is free from errors or shortcomings.
The DllMaker is being distributed as shareware. Please feel free to try it
and/or pass it around. If you find it useful, please send whatever you
think it's worth to
Midnight Beach
1805A Felt Street
Santa Cruz, California 95062
408-479-9916
We will send the source to anyone who pays at least $25.
Jon Shemitz for Midnight Beach, 1-29-92.